package cn.tedu.blackhorse.service;

import cn.tedu.blackhorse.pojo.dto.StudentProblemAddNewDTO;
import cn.tedu.blackhorse.pojo.dto.StudentProblemUpdateDTO;
import cn.tedu.blackhorse.pojo.vo.StudentProblemListItemVO;
import cn.tedu.blackhorse.pojo.vo.StudentProblemStandardVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IStudentProblemService {

    void addNew(StudentProblemAddNewDTO studentProblemAddNewDTO);

    void deleteById(Long id);

    List<StudentProblemListItemVO> list();

    void updateById(Long id, StudentProblemUpdateDTO studentProblemUpdateDTO);

    StudentProblemStandardVO getById(Long id);

}
